
        <html>
        <head>
          <meta name="viewport" content="width=device-width, initial-scale=1">
          <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
          <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
          <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
          <style>
        body
        {
            padding-left: 20px;
        }
        th:nth-child(1) {
          width: 200px;
          }
        
        /* the second */
        th:nth-child(2) {
          width: 200px;
        }
        
        /* the third */
        th:nth-child(3) {
          width: 100px;
         }
         /* the third */
         th:nth-child(4) {
          width: 420px;
         }
         
         pre {
            white-space: -moz-pre-wrap; /* Mozilla, supported since 1999 */
            white-space: -pre-wrap; /* Opera */
            white-space: -o-pre-wrap; /* Opera */
            white-space: pre-wrap; /* CSS3 - Text module (Candidate Recommendation) http://www.w3.org/TR/css3-text/#white-space */
            word-wrap: break-word; /* IE 5.5+ */
            width: 725px
         }
          </style>
        </head>
         <table name="{'name': 'Play Web - Create apache directories and username in web servers', 'hosts': 'webservers', 'become': True, 'become_user': 'root', 'tasks': [{'name': 'create username apacheadm', 'user': {'name': 'apacheadm', 'group': 'users,admin', 'shell': '/bin/bash', 'home': '/home/weblogic'}}, {'name': 'install httpd', 'yum': {'name': 'httpd', 'state': 'installed'}}]}" id="{'name': 'Play Web - Create apache directories and username in web servers', 'hosts': 'webservers', 'become': True, 'become_user': 'root', 'tasks': [{'name': 'create username apacheadm', 'user': {'name': 'apacheadm', 'group': 'users,admin', 'shell': '/bin/bash', 'home': '/home/weblogic'}}, {'name': 'install httpd', 'yum': {'name': 'httpd', 'state': 'installed'}}]}" class="table table-striped table-condensed" style="width: 1450px;table-layout: fixed;overflow-wrap: break-word;">
    <tr>
        <th>Field</th>
        <th>Example Value</th>
        <th>Required</th>
        <th>Description</th>
    </tr>
    <tr>
        <td>name</td>
        <td>Play Web - Create apache directories and username in web servers</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur adipiscing elit b&#x27;enim&#x27;.</td>
    </tr>
    <tr>
        <td>hosts</td>
        <td>webservers</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur.</td>
    </tr>
    <tr>
        <td>become</td>
        <td>True</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur adipiscing elit b&#x27;eros&#x27; b&#x27;mi&#x27;.</td>
    </tr>
    <tr>
        <td>become_user</td>
        <td>root</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur adipiscing elit b&#x27;odio&#x27; b&#x27;id&#x27;.</td>
    </tr>
    <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td>tasks</td>
        <td></td>
        <td></td>
        <td>Lorem ipsum.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;name</td>
        <td>create username apacheadm</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur adipiscing elit.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;user</td>
        <td>&nbsp;&nbsp;</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name</td>
        <td>apacheadm</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;group</td>
        <td>users,admin</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur adipiscing elit b&#x27;cras&#x27; b&#x27;in&#x27;.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shell</td>
        <td>/bin/bash</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur adipiscing.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;home</td>
        <td>/home/weblogic</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur adipiscing elit b&#x27;nibh&#x27; b&#x27;eu&#x27;.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;name</td>
        <td>install httpd</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;yum</td>
        <td>&nbsp;&nbsp;</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name</td>
        <td>httpd</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;state</td>
        <td>installed</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur adipiscing elit b&#x27;elit&#x27; b&#x27;in&#x27; b&#x27;nisi&#x27;.</td>
    </tr>
</table> Raw yaml: <pre>name: Play Web - Create apache directories and username in web servers
hosts: webservers
become: true
become_user: root
tasks:
- name: create username apacheadm
  user:
    name: apacheadm
    group: users,admin
    shell: /bin/bash
    home: /home/weblogic
- name: install httpd
  yum:
    name: httpd
    state: installed
</pre> <table name="{'name': 'Play app - Create tomcat directories and username in app servers', 'hosts': 'appservers', 'become': True, 'become_user': 'root', 'tasks': [{'name': 'Create a username for tomcat', 'user': {'name': 'tomcatadm', 'group': 'users', 'shell': '/bin/bash', 'home': '/home/tomcat'}}, {'name': 'create a directory for apache tomcat', 'file': {'path': '/opt/oracle', 'owner': 'tomcatadm', 'group': 'users', 'state': 'present', 'mode': 493}}]}" id="{'name': 'Play app - Create tomcat directories and username in app servers', 'hosts': 'appservers', 'become': True, 'become_user': 'root', 'tasks': [{'name': 'Create a username for tomcat', 'user': {'name': 'tomcatadm', 'group': 'users', 'shell': '/bin/bash', 'home': '/home/tomcat'}}, {'name': 'create a directory for apache tomcat', 'file': {'path': '/opt/oracle', 'owner': 'tomcatadm', 'group': 'users', 'state': 'present', 'mode': 493}}]}" class="table table-striped table-condensed" style="width: 1450px;table-layout: fixed;overflow-wrap: break-word;">
    <tr>
        <th>Field</th>
        <th>Example Value</th>
        <th>Required</th>
        <th>Description</th>
    </tr>
    <tr>
        <td>name</td>
        <td>Play app - Create tomcat directories and username in app servers</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor.</td>
    </tr>
    <tr>
        <td>hosts</td>
        <td>appservers</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur.</td>
    </tr>
    <tr>
        <td>become</td>
        <td>True</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur adipiscing elit.</td>
    </tr>
    <tr>
        <td>become_user</td>
        <td>root</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit.</td>
    </tr>
    <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td>tasks</td>
        <td></td>
        <td></td>
        <td>Lorem ipsum dolor sit.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;name</td>
        <td>Create a username for tomcat</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;user</td>
        <td>&nbsp;&nbsp;</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur adipiscing elit b&#x27;nisl&#x27;.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name</td>
        <td>tomcatadm</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur adipiscing elit b&#x27;eros&#x27; b&#x27;ve&#x27; b&#x27;viverra&#x27; b&#x27;magna&#x27; b&#x27;diam&#x27;.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;group</td>
        <td>users</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur adipiscing elit b&#x27;cras&#x27; b&#x27;in&#x27; b&#x27;ad&#x27; b&#x27;felis&#x27; b&#x27;a&#x27; b&#x27;pellentesque&#x27;.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shell</td>
        <td>/bin/bash</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur adipiscing elit b&#x27;nibh&#x27; b&#x27;ac&#x27; b&#x27;ut&#x27; b&#x27;metus&#x27; b&#x27;ve&#x27; b&#x27;a&#x27;.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;home</td>
        <td>/home/tomcat</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;name</td>
        <td>create a directory for apache tomcat</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;file</td>
        <td>&nbsp;&nbsp;</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;path</td>
        <td>/opt/oracle</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;owner</td>
        <td>tomcatadm</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;group</td>
        <td>users</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur adipiscing elit b&#x27;cras&#x27;.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;state</td>
        <td>present</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum.</td>
    </tr>
    <tr>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mode</td>
        <td>493</td>
        <td>&nbsp;&nbsp;</td>
        <td>Lorem ipsum dolor sit amet, consecteteur adipiscing elit.</td>
    </tr>
</table> Raw yaml: <pre>name: Play app - Create tomcat directories and username in app servers
hosts: appservers
become: true
become_user: root
tasks:
- name: Create a username for tomcat
  user:
    name: tomcatadm
    group: users
    shell: /bin/bash
    home: /home/tomcat
- name: create a directory for apache tomcat
  file:
    path: /opt/oracle
    owner: tomcatadm
    group: users
    state: present
    mode: 493
</pre> </html>